package com.example.online_order.service;

import com.example.online_order.pojo.Evalate;
import com.example.online_order.pojo.Goods;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional(readOnly = true)
public interface GoodsService {
    public List<Goods> selectAllGoods();


    public Integer addGood(Goods goods);

    public Integer deleteGood(Integer id);

    public Integer updateGood(Goods goods);
    public List<Goods> selectDsql(String mealName,String mealType );

    public List<Goods> selectMealType();
}
